<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateGoodRecordInputsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('good_record_inputs', function (Blueprint $table) {
            $table->increments('id');
            $table->string('operatorId');
            $table->string('goodName');
            $table->integer('stockNumber');
            $table->integer('inputNumber');
            $table->integer('returnNumber');
            $table->string('provider');
            $table->string('date');
            $table->integer('storeId');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('good_record_inputs');
    }
}
